# -*- coding: utf-8 -*-
module ApplicationHelper
  def set_title name
    if name.nil?
      '<title>'+(t(".title") || "Republic")+' - 蜗牛居</title>'
    else
      '<title>'+name+' - 蜗牛居</title>'
    end
  end
end
